FLAGS = -package ghc -funbox-strict-fields -hidir obj -odir obj
MAIN = Main.hs

all:
	ghc --make -o zeno -O2 $(FLAGS) $(MAIN)

power:
	ghc --make -o zeno -fvia-C -optc-O3 -O3 $(FLAGS) $(MAIN)

powerr:
	ghc --make -o zeno -fforce-recomp -fvia-C -optc-O3 -O3 $(FLAGS) $(MAIN)
	
ghci:
	ghci -fobject-code -O2 $(FLAGS) $(MAIN)
  
zip:
	rm Zeno.zip
	zip Zeno.zip *.hs *.y Zeno/*.hs makefile

.PHONY : clean
clean:
	rm -rf obj/

